# -*- coding: utf-8 -*-
"""
Created on 15-12-28 上午11:05
@file: break.py
@author: Liangrong Li
@contact: liliangrong0@126.com
"""
# 测试break语句的用法，及其与continue语句的区别
str = 're'
data = [
    'one',
    'two',
    'three',
    'four',
    'five',
    'remain',
]
for word in data:
    if str in word:
        print word
        # break     # 测试break语句的用法
        continue
    else:
        continue